package org.lab.tracecash.common.model;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class SearchResults<T> implements Serializable {

	private Long currentPage;
	private Integer pageSize;
	private Long totalPages;
	private Long totalItems;
	private List<T> results;

	public SearchResults() {
	}

	public Long getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Long currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Long getTotalItems() {
		return totalItems;
	}

	public void setTotalItems(Long totalItems) {
		this.totalItems = totalItems;
	}

	public Long getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(Long totalPages) {
		this.totalPages = totalPages;
	}

	public List<T> getResults() {
		return results;
	}

	public void setResults(List<T> results) {
		this.results = results;
	}
}
